package com.mzj.saas.jobs.bill.entity;


/**
 * 物业房产-账单生成规则表
 */

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Table(name ="saas_estate_expense_bill_rule")
public class EstateExpenseBillRule {
    @Id
    private String id;
    /**
     * 记录名称
     */
    @Column(name = "name", nullable = true)
    private String name;
    /**
     * 所属小区
     */
    @Column(name = "community_id", nullable = true)
    private String communityId;
    /**
     * 账单生成数量(房屋数量)
     */
    @Column(name = "number", nullable = true)
    private Integer number;
    /**
     * 账单开始时间
     */
    @Column(name = "start_time", nullable = true)
    private Date startTime;
    /**
     * 账单结束时间
     */
    @Column(name = "end_time", nullable = true)
    private Date endTime;
    /**
     * 缴费截至日期
     */
    @Column(name = "close_time", nullable = true)
    private Date closeTime;
    /**
     * 收费项目(1水费 2电费 3物业费 4宽带费 5电视费 6煤气费 7暖气费 8租金 9押金)
     */
    @Column(name = "charge_type", nullable = true)
    private Integer chargeType;
    /**
     * 创建人
     */
    @Column(name = "operator_id", nullable = true)
    private String operatorId;
    /**
     * 生成时间
     */
    @Column(name = "create_time", nullable = true)
    private Date createTime;
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCommunityId() {
        return communityId;
    }

    public void setCommunityId(String communityId) {
        this.communityId = communityId;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getCloseTime() {
        return closeTime;
    }

    public void setCloseTime(Date closeTime) {
        this.closeTime = closeTime;
    }

    public Integer getChargeType() {
        return chargeType;
    }

    public void setChargeType(Integer chargeType) {
        this.chargeType = chargeType;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

}
